<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script>
	function getRandom(min,max){
		return Math.floor(Math.random()*(max-min+1)+min);
	}
	console.log(getRandom(1,100));
</script>
</html>